package com.woniuxy.entity;

/**
 * @ClassName Teacher
 * @Description TODO
 * @Author LI.hh
 * @Date 2022/8/18 17:46
 * @Version 1.0
 */
public class Teacher {
    String name;
    Integer age;

    public Teacher() {
    }

    public Teacher(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
